import { userRouter } from "./user/user";
import { videoRouter } from "./video/video";

import type { Express } from "express";

export function useRouter(app: Express) {
  app.use("/", userRouter, videoRouter);
  // app.use("/", videoRouter);
  app.use("/", (req, res) => res.send("Hello World!"));
}
